package com.atguigu.springcloud.request;

import com.atguigu.springcloud.enums.EnumEO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by luojie on 2018/9/7.
 */
@Data
@ApiModel("创建订单")
public class SaveOrderInfoRequest {


    @NotBlank
    @ApiModelProperty(value = "员工id", required = true)
    private String employeeId;

    private String remark;

    @NotNull
    @ApiModelProperty(value = "金额", required = true)
    private Integer amt;

    @NotNull
    @ApiModelProperty(value = "订单状态", required = true)
    private EnumEO.OrderStatus status;
}
